body {
    font-family: "Segoe UI", serif;
    background: url("../img/background.png") repeat;
}

select {
    cursor: pointer;
    font-size: 15px;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

a {
    color: #4ab1d3;
    text-decoration: none;
}

::selection {
    background: #ad0008;
    color: #fff;
    text-shadow: none;
}

.control-group .controls {
    margin-bottom: 10px;
}

.control-group.button .controls {
    text-align: right;
}

.control-group.button .controls button {
    padding: 3px 15px;
}

.control-group .controls {
    margin-top: 3px;
}

div.errors {
    color: #ff0009;
    background: #fff6f8;
    padding: 5px;
    margin-bottom: 10px;
}

div.msg {
    color: #310fff;
    background: #f2f8ff;
    padding: 5px;
    margin-bottom: 10px;
}

#main, aside {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

#main {
    width: 890px;
    margin: 64px auto 0 auto;
}

.box {
    background: rgba(165, 165, 174, 0.20);
    border-radius: 8px;
    padding: 12px;
}

.box-inner {
    background: #fff;
    margin: 0;
    padding: 8px;
    border: 1px solid #dedede;
    box-shadow: 0 0 8px -2px #ccc;
    min-height: 480px;
}

aside {
    width: 262px;
    float: left;
    margin-right: 15px;
    font-size: 12px;
    line-height: 18px;
}

aside #sidebar-inner {

}

aside h1, aside ul {
    margin: 0;
}

aside header h1 {
    font-size: 32px;
    padding: 24px 10px;
    margin-bottom: 18px;
    border-bottom: 1px dotted #eee;
}

aside header a {
    text-decoration: none;
    color: #910006;
}

aside nav {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 8px;
}

aside nav ul {
    list-style: none;
    padding: 0;
}

aside nav ul a {
    display: block;
    text-decoration: none;
    font-size: 20px;
    padding: 12px 25px;
    color: #777;
}

.sidebar-box {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

.sidebar-box h2 {
    color: #630004;
}

aside nav ul a:hover {
    background: #910006;
    color: #fff;
}

#content {
    width: 562px;
    float: right;
}

#content h2 {
    padding: 0 15px;
    font-size: 25px;
    border-bottom: 1px dotted #dedede;
}

footer {
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    margin-top: 35px;
    background: #2e2e2e;
    padding: 22px 0;
}

footer #footer-inner {
    width: 890px;
    margin: 0 auto;
}

/* login page */
#login-form {
    width: 295px;
    margin: 50px auto;
}

#channel-selecting-form {
    padding-left: 80px;
    padding-right: 80px;
}

#channel-selecting-form .control-group {
    padding: 10px 15px 8px;
    margin: 0;
    border-bottom: 1px dotted #eee;
}

#channel-selecting-form .control-group .controls {
    margin: 0;
}

#channel-selecting-form .control-group:hover {
    background: #efefef;
}

#channel-selecting-form label {
    width: 100px;
    float: left;
    line-height: 30px;
}

#channel-selecting-form select {
    min-width: 160px;
    cursor: pointer;
}

#user-panel h3 {
    color: #910006;
    font-weight: normal;
}

#user-panel h3 strong {
    color: #310fff;
    font-size: 120%;
}

#user-panel .logout {
    float: right;
    color: #ff5527;
}

#user-panel .login h3 {
    font-size: 15px;
    color: #ff0009;
}

#collection-select-sheller:hover {
   text-decoration: underline;
}

#data-table table {
    border-collapse: collapse;
    width: 100%;
}

#data-table table th {
    background: #eee;
    padding: 8px 5px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

#result-data-table td {
    padding: 5px 15px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 1px;
}



#result-data-table tr.first td {
    color: #0000ee;
}

#result-data-table tr.last td {
    color: #910006;
}

#loading-bar, #go-top {
    position: fixed;
    background: rgba(204, 204, 204, 0.27);
    border-radius: 0 0 0 8px;
    display: none;
}

#loading-bar {
    right: 0;
    top: 0;
    padding: 5px 10px;
}

#go-top {
    right: 10px;
    bottom: 20px;
    cursor: pointer;
    border-radius: 8px;
}

select#collection {
    min-width: 100px;
}

#data-table table .hover {
    background: #d7d5ff;
    border-right: 1px solid red;
}
#result-data-table tr:hover {
    background: #d7d5ff;

}

#result-data-table tr:hover td {
    border-bottom-color: red;
}

#result-data-table td.win {
    background: #fbeec1;
}

#result-data-table td {
    position: relative;
}

#result-data-table td .date {
    font-size: 10px;
    position: absolute;
    bottom: 1px;
    right: 1px;
    display: none;

}

#result-data-table td:hover .date {
    display: block;
}

/* max line box */
#max-line h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

#max-line .label {
    display: block;
    width: 120px;
    float: left;
}
#max-line-inner div {
    font-size: 13px;
    padding: 5px 0;
}
#max-line .first {
    border-bottom: 1px dotted #ccc;
}

#ml-go-l,
#ml-go-f {
    cursor: pointer;
    color: #0000ee;
}

.clear {
    clear: both;
}

.content-block {

}

.content-block h3 {
    margin-bottom: 5px;
    color: #590004;
    font-size: 16px;
}

.max-line-start {
    background: #ffa197 !important;
}

#collection-container {
    border: 1px dotted #ccc;
    max-height: 300px;
    padding: 15px;
    overflow: scroll;
    background: rgba(243, 243, 243, 0.43);
}

.collection-outer {
    padding: 2px 10px;
    float: left;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 2px 5px;
    font-size: 14px;
    color: #0000ee;
    cursor: pointer;
}

.collection-outer:hover {
    background: rgba(209, 209, 209, 0.81);
}

.collection-outer a.control img {
    width: 12px;
}

.control-row {
    margin-bottom: 10px;
}

.control-row label {
    display: block;
    float: left;
    min-width: 150px;
    font-size: 13px;
    padding-left: 20px;
}

.control-row.button {
    text-align: center;
}

.control-row.button button {
    padding: 3px 10px;
}

#cln-add {
font-size: 12px;
font-weight: normal;
}

#msg {
    background:  #f2f8ff;
    margin: 10px 0;
    padding: 5px 20px 5px 10px;
    border: 1px solid #ced7e6;
    position: relative;
    font-size: 13px;
    color: #0000ee;
}

#msg .close {
    position: absolute;
    color: red;
    right: 8px;
    display: block;
    top: 4px;
    cursor: pointer;
}

/* fixed for Xeng yeu vau */
.fixed-aside {
    position: fixed;
    top: 5px;
}